package com.hackordie.operations;

import com.hackordie.commons.HackOrDieResult;
import com.hackordie.daos.ProfileDao;
import com.hackordie.exceptions.HackOrDieException;

public abstract class AHackOrDieOperationProfile extends AHackOrDieOperation {

	protected ProfileDao profileDao;

	public AHackOrDieOperationProfile() {
		super();
		profileDao = factory.getBean("profileDao", ProfileDao.class);
	}

	protected abstract boolean checkParameters();

	protected abstract HackOrDieResult executeOperation() throws HackOrDieException;

}
